20 likes | 123 Views
Mindmaps. Experiment XMLs. Refs/Files/Parties. Graphical representation of the model and grid ‘questions’/controlled vocabs. Pseudo-CIM xml files detailing numerical experiments and their associated requirements. Optional csv files of ‘pre-known’ references/ input files/variables etc.
E N D
Mindmaps Experiment XMLs Refs/Files/Parties Graphical representation of the model and grid ‘questions’/controlled vocabs Pseudo-CIM xml files detailing numerical experiments and their associated requirements Optional csv files of ‘pre-known’ references/ input files/variables etc 1) Written manually using text/csv editor (external software) 1) Written manually using text/xml editor (external software) 1) Generated using freemind (external software) 2) Saved locally as freemindnative format (.mm) 2) Saved locally in csv format 2) ‘Loose’ validation against CIM schema (manual) 3) .mm validated (against mm rules) using xsltscript (with python wrapper) (command line) 3) Saved locally in xml format 4) Valid .mm converted to a ‘questionnaire-friendly’ xml format using xsltscript (again with python wrapper) (command line) (External to questionnaire django infrastructure ) (Internal to questionnaire django infrastructure ) Resultant files manually copied to questionnaire setup directories mindmaps experiments references Once a new questionnaire instance has been created and is being used, it is difficult currently to ingest further files, i.e you cannot run the setup script again. Questionnaire setup script Setup script ingests information from the directories above into the questionnaire database. The setup script contains some hardcoded controlled vocabs that also populate the questionnaire Postgres New Questionnaire Instance created Live Questionnaire
Mindmaps Experiment XMLs Refs/Files/Parties Graphical representation of the model and grid ‘questions’/controlled vocabs Pseudo-CIM xml files detailing numerical experiments and their associated requirements Optional csv files of ‘pre-known’ references/ input files/variables etc 1) Written manually using text/csv editor (external software) 1) Written manually using text/xml editor (external software) 1) Generated using freemind (external software) 2) Saved locally as freemindnative format (.mm) 2) Saved locally in csv format 2) ‘Loose’ validation against CIM schema (manual) 3) .mm validated (against mm rules) using xsltscript (with python wrapper) (command line) 3) Saved locally in xml format 4) Valid .mm converted to a ‘questionnaire-friendly’ xml format using xsltscript (again with python wrapper) (command line) (External to questionnaire django infrastructure ) (Internal to questionnaire django infrastructure ) Resultant files manually copied to questionnaire setup directories Potential improvements with PIMMS ‘packaged’ questionnaire - Convert the mindmap validation and conversion scripts to a gui tool embedded within the questionnaire, and having these as a questionnaire ‘service’. This would have the ability to upload the resultant files directly into the questionnaire setup directories. mindmaps experiments references Once a new questionnaire instance has been created and is being used, it is difficult currently to ingest further files, i.e you cannot run the setup script again. Questionnaire setup script - Embed the CIM experiment generator (currently operating as a standalone tool) within the questionnaire itself, again negating the need for the user to manually copy resultant files to setup directory or worry about validation Setup script ingests information from the directories above into the questionnaire database Postgres New Questionnaire Instance created - Allow for these additional tools to be used post-questionnaire setup, i.e. allow further experiments or new batch files/refs etc to be added even when the questionnaire is already in use. Live Questionnaire