phystool.metadata

Module Contents

Classes

Metadata

Gathers the metadata of all PDBFiles in a single class.

Data

logger

API

phystool.metadata.logger

“getLogger(…)”

class phystool.metadata.Metadata

Gathers the metadata of all PDBFiles in a single class.

Initialization

stats() dict[str, str | int]
get_klass(name: str, year: int) phystool.helper.Klass
klass_list(current: bool = True) None
klass_display(klass_uuid: str) None
evaluation_list(current: bool = True) None
evaluation_create_for_klass(klass_uuid: str) str
evaluation_edit(evaluation_uuid: str) None
evaluation_update(evaluation_uuid: str) None
evaluation_display(evaluation_uuid: str) None
update(pdb_file: phystool.pdbfile.PDBFile) None
remove(pdb_file: phystool.pdbfile.PDBFile) None
consolidate() None
consolidate_progress() Iterator[tuple[int, int, str]]
save() None
filter(query: str, uuid_bit: str, file_types: set[str], selected_tags: phystool.tags.Tags, excluded_tags: phystool.tags.Tags) list[phystool.pdbfile.PDBFile]

Returns a list of PDBFile that match search criteria

Paramètres:
  • query – string that should appear in the tex file

  • uuid_bit – string that should match part of a uuid

  • file_type – restrain search only to those file types

  • selected_tags – restrain search to the PDBFiles tagged with any of the selected_tags

  • excluded_tags – exclude PDBFiles tagged with any of the excluded_tags