Document shared checksum verification and on-demand LibINVENT resources
Browse files174 unmodified lines1751761771781791801811821837 unmodified lines191192193194195196174 unmodified linesUse a Morph checkout with portable scaffold cache version 2. Cache identities usesource-file contents and dataset settings, so downloading or moving identicalfiles preserves cache reuse. Morph reads each source split once per process tocalculate its checksum; this initial read can take minutes for the largest GEOMsplit. Subsequent cache lookups in that process reuse the checksum.Select a published kind explicitly, for example:7 unmodified linesfirst use if selected. Evaluation panels are selected on first use; QM9/GEOMpanels are also cached. Panels are not included in this snapshot. Other unpublished kinds are likewise builtwhen requested; computing new LibINVENT cuts requires Morph's `scaffold` extra.## CrossDocked ligand/pocket data174 unmodified lines1751761771781791801811821831841851861871881891901917 unmodified lines199200201202203204205206207208209210211212213214215174 unmodified linesUse a Morph checkout with portable scaffold cache version 2. Cache identities usesource-file contents and dataset settings, so downloading or moving identicalfiles preserves cache reuse. Morph verifies each source split once and sharesthat checksum across processes and later runs using a locked disk cache. Fileidentity, size, modification time and change time invalidate the local checksummemo when the source changes. A new download/path requires one verification read,which can take minutes for the largest GEOM split. Keep source files immutablewhile readers are active. The dataset directory can be read-only.Resources and verified source checksums default to `${XDG_CACHE_HOME:-~/.cache}/morph`;set `MORPH_CACHE_DIR` to choose another writable location shared by your trainingprocesses/nodes. These local verification records do not change the portablescaffold-cache identity or the published cuts.Select a published kind explicitly, for example:7 unmodified linesfirst use if selected. Evaluation panels are selected on first use; QM9/GEOMpanels are also cached. Panels are not included in this snapshot. Other unpublished kinds are likewise builtwhen requested; computing new LibINVENT cuts requires Morph's `scaffold` extra.The first LibINVENT use automatically downloads the original[reaction rules](https://github.com/MolecularAI/Lib-INVENT-dataset/blob/540c1b015a091d3b79f57505168017baeefe10a5/tutorial/data/reaction.smirks)and [DiffDec filters](https://github.com/biomed-AI/DiffDec/blob/916ae14207b2783a90336bb8509374535c5791f9/data/filter_conditions.json)from pinned revisions, checks their SHA-256 hashes, and caches them for offlinereuse. The downloaded rules are byte-identical to those used for these artifacts.Loading the published cuts does not download rules or require the optional cutterdependency. To prepare the rules before an offline job:```bashpython -c 'from morph.dataset.conditional.scaffold.resources import libinvent_resources; libinvent_resources()'```## CrossDocked ligand/pocket data
README.md+22-3