sample_metadata/parser/generic_metadata_parser.py
def from_manifest_path(
        self,
        manifest: str,
        confirm=False,
        delimiter=None,
        dry_run=False,
    ):
        """Parse manifest from path, and return result of parsing manifest"""

        _delimiter = delimiter or GenericMetadataParser.guess_delimiter_from_filename(
            manifest
        )

        file_contents = self.file_contents(manifest)
        return self.parse_manifest(
            StringIO(file_contents),
            delimiter=_delimiter,
            confirm=confirm,
            dry_run=dry_run
        )
Parse manifest from path, and return result of parsing manifest
Parse manifest from path, and return result of parsing manifest
Parse manifest from path and return result of parsing manifest
def from_manifest_path(
        self,
        manifest: str,
        confirm=False,
        delimiter=None,
        dry_run=False,
    ):
        _delimiter = delimiter or GenericMetadataParser.guess_delimiter_from_filename(
            manifest
        )
        file_contents = self.file_contents(manifest)
        return self.parse_manifest(
            StringIO(file_contents),
            delimiter=_delimiter,
            confirm=confirm,
            dry_run=dry_run
        )
def from_manifest_path ( self , manifest : str , confirm = False , delimiter = None , dry_run = False , ) : _delimiter = delimiter or GenericMetadataParser . guess_delimiter_from_filename ( manifest ) file_contents = self . file_contents ( manifest ) return self . parse_manifest ( StringIO ( file_contents ) , delimiter = _delimiter , confirm = confirm , dry_run = dry_run )
Parse manifest from path, and return result of parsing manifest
Parse manifest from path and return result of parsing manifest
"""Parse manifest from path, and return result of parsing manifest"""
self
manifest
str
confirm
delimiter
dry_run