You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Quickstart and the data handling page have the following example which does not work 'as-is'.
>>>importatom3d.datasets.datasetsasda>>>da.download_dataset('lba', PATH_TO_DATASET) # Download LBA dataset>>>importatom3d.datasetsasda>>>dataset=da.load_dataset(PATH_TO_DATASET, 'lmdb') # Load LMDB format dataset>>>print(len(dataset)) # Print length>>>print(dataset[0].keys()) # Print keys stored in first structure
Some notes:
The variable PATH_TO_DATASET cannot have the same value in the download_dataset and the load_dataset calls since the latter requires a path to a subfolder of PATH_TO_DATASET
The doc uses SPLIT_NAME without providing a sample value so the user has to guess the options.
I would modify this to either set the values of the variables so that the user can copy paste the example directly, or state what values a user should give.
Setting PATH_TO_DATASET='./foo' and running the example as-is results in the following error:
The Quickstart and the data handling page have the following example which does not work 'as-is'.
Some notes:
PATH_TO_DATASET
cannot have the same value in thedownload_dataset
and theload_dataset
calls since the latter requires a path to a subfolder ofPATH_TO_DATASET
SPLIT_NAME
without providing a sample value so the user has to guess the options.Setting
PATH_TO_DATASET='./foo'
and running the example as-is results in the following error:The second example which was not working is the
load_example_dataset
also in the Using datasets page.This is the snippet from the docs:
Running this produces the following error:
Version
python: 3.9.13
atom3d: 'v0.2.6'
os: MacOS 10.15.7
The text was updated successfully, but these errors were encountered: