dandi / dandisets-healthstatus

Healthchecks of dandisets and support libraries (pynwb and matnwb)
0 stars 1 forks source link

MatNWB installation steps still needed? #65

Closed jwodder closed 2 months ago

jwodder commented 8 months ago

@yarikoptic In commit 035e64ee, you removed the invocation of matlab -nodesktop -sd $INSTALL_DIR -batch 'generateCore()' from MatNWBInstaller.install(). As a result, the only thing the install() method now does is call download() and then run git clean -dxf on the downloaded clone of the MatNWB repository.

yarikoptic commented 8 months ago

frankly -- I don't know if there are any side effects or why we even originally called that git clean -dxf... it was added by you in e5261efb3cb7f81c7b0ad637ad00bbce16420566 and before the generateCore . Do you recall the reason/need for it? if not -- we could test on some passed/failing file and deduce why it was needed , or just keep as historical artifact - I guess it doesn't hurt and should not take long

jwodder commented 8 months ago

@yarikoptic I think it was added in order to delete any artifacts produced by a previous call to generateCore(), thereby ensuring a clean core-generation. Now that we don't call generateCore() explicitly, it is called implicitly when MatNWB is loaded?

yarikoptic commented 8 months ago

Frankly - I don't know without trying, and behavior might change. Might be safest to just leave cleaning in