Module arvados.commands.run

Functions

def determine_project(root, current_user)
def is_in_collection(root, branch)
def main(arguments=None)
def statfile(prefix, fn, fnPattern='$(file %s/%s)', dirPattern='$(dir %s/%s/)', raiseOSError=False)
def uploadfiles(files, api, dry_run=False, num_retries=0, project=None, fnPattern='$(file %s/%s)', name=None, collection=None, packed=True)
def write_file(collection, pathprefix, fn, flush=False)

Classes

class ArvFile (prefix, fn)
Expand source code
class ArvFile(object):
    def __init__(self, prefix, fn):
        self.prefix = prefix
        self.fn = fn

    def __hash__(self):
        return (self.prefix+self.fn).__hash__()

    def __eq__(self, other):
        return (self.prefix == other.prefix) and (self.fn == other.fn)

Subclasses

class UploadFile (prefix, fn)
Expand source code
class UploadFile(ArvFile):
    pass

Ancestors