cnr-ibf-pa / hbp-bsp-issues

Ticketing system for developers/testers and power users of the Brain Simulation Platform of the Human Brain Project
4 stars 0 forks source link

Models inconsistent with BlueNaaS convention #442

Closed alex4200 closed 5 years ago

alex4200 commented 5 years ago

Expected behavior

Models from the model catalog need to follow the convention for BlueNaaS regarding the content of the zip file:

Selection_722

Actual Behavior (please include screenshot if possible)

For example, here: Folder checkpoints contains two hoc files:


cell_seed5_0.hoc
cell_seed6_0.hoc

and not the single required one.

Steps to reproduce the problem

  1. Go to the model catalog
  2. Select any model
  3. Try to open the model in BlueNaaS -> Error message

Optional infrastructural data (user, platform, browser, environment, ...)

Prod

clupascu commented 5 years ago

@genric when opening the model in BlueNaaS the "best_cell" key and value from the _meta.json can be used in order to select the hoc file to be loaded from the checkpoints folder? The two or more cells in the checkpoints folder are unfortunately necessary.

genric commented 5 years ago

@clupascu I don't think _meta.json is included in the zip file. Even if it would be there then I'll have to introduce new convention for the best cell lookup for the CSCS container based models. An easy solution would be just to copy whatever best cell hoc file into cell.hoc. Let me know what you think.

clupascu commented 5 years ago

@genric ok. I will keep the two hoc files and add a new cell.hoc that will be a copy of one of the two hoc files.

clupascu commented 5 years ago

Now it works. @alex4200 can you please test and close the issue? Thanks.

alex4200 commented 5 years ago

Thanks; yes the models seem to work now.