WU-BIMAC / MicroMetaApp-React

This is the React implementation of Micro-Meta App, Microscopy Metadata for the real world!
https://wu-bimac.github.io/MicroMetaApp.github.io/
GNU General Public License v3.0
7 stars 2 forks source link

[BUG] MANAGE INSTRUMENT --> outdated Microscope.json file can be opened using Load but not Import #416

Closed strambc closed 8 months ago

strambc commented 3 years ago

Describe the bug Since version beta_0.45.1-b1-0 outdated Microscope.json files should not be able to open and should give a warning.

James Chambers's old microscope file (see attached) displayed the expected behavior upon Import from file but could be opened when using Load from Homefolder.

To Reproduce Use the attached Microscope.JSON file Attempt to "Import from file" fails with the expected error warning. Attempto to Load from file succeeds.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

chambers_nikon_hca.txt

strambc commented 2 years ago

Errors are generated both with Import from File and Load from Homefolder. However errors are different:

Case 1: Import from file: ERROR WARNING IS APPROPRIATE

image

Case 2: Load from Homefolder: ERROR WARNING IS NOT APPROPRIATE

image