ucsd-ccbb / qiimp

Web application to collect metadata specifications from an experimenter and produce metadata input files with appropriate constraints
3 stars 7 forks source link

Uploading Qiimp-derived metadata no longer works (metadata_form A1 is empty) #172

Closed adswafford closed 5 years ago

adswafford commented 5 years ago

genericmouse_4217.xlsx

adswafford commented 5 years ago

I've now tested this and seen the same on multiple types of templates.

AmandaBirmingham commented 5 years ago

In general, it is helpful to provide a list of steps to reproduce; in this case, it is not clear to me where you are uploading it to or what failure you see.

However, if you are describing the fact that when you upload the genericmouse_4217.xlsx template you provided into QIIMP as a source of custom fields, then you see no fields show up in the custom fields box, that is the correct behavior. genericmouse_4217.xlsx HAS no custom fields (only fields associated with the mouse package) so there are no custom fields to be uploaded. It is the correct functionality of the code that only custom fields (not package fields) be uploaded, as this allows one to share custom fields between packages.

I have verified that when uploading a template that DOES have a custom field in it, the custom field is correctly loaded in the live QIIMP:

screen shot 2018-10-12 at 1 59 27 pm

generic-mouse-with-field_3824.xlsx

adswafford commented 5 years ago

This appears to be the key:

"I have verified that when uploading a template that DOES have a custom field in it, the custom field is correctly loaded in the live QIIMP:"

I forgot that it was only the case that it would load custom, and now I recall all the reasons why. Thanks for sending the reply, and I'll close.