ki-tools / kitools-py

Tools for working with data in Ki analyses
Apache License 2.0
3 stars 0 forks source link

Check for missing resources on KiProject load #16

Closed pcstout closed 5 years ago

pcstout commented 5 years ago

When a KiProject is loaded or initialized it will print out any folders or files in the DataType folders that are NOT in the KiProject manifest (the resources).

Example:

>>> kiproject = KiProject("/tmp/demo_curator_bf5b42d0")
WARNING: The following local resources have not been added to this KiProject.
 - data/discovered/new_study_file_test_file_1_c4b84a9f.dat
 - data/derived/new_study_file_test_file_1_6743c859.dat
KiProject successfully loaded and ready to use.
hafen commented 5 years ago

I like this and I think project initialization is a good place to do the check.