mcdougallab / modeldb

ModelDB 2020 redesign
http://modeldb.science
10 stars 2 forks source link

Models 267499, 266925 don't show up right #150

Closed ramcdougal closed 1 year ago

ramcdougal commented 1 year ago

Code is in the zip though. No issues on the Yale site.

ramcdougal commented 1 year ago

For 266925, I tried deleting the file, rezipping the correct contents and uploading, but the same thing occurred.

ramcdougal commented 1 year ago

The problem appears to be that they were embedding macOS metadata in a __MACOSX folder... and then ModelDB was finding that instead of the actual code.

We can delete this metadata (which at least in 266925's case included the com.apple.quarantine flag) from the zip via:

zip -d 266925.zip "__MACOSX*"