Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Software XSD to increase clarity of input/output data formats #272

Open
JohnLevander opened this issue Jan 24, 2019 · 1 comment
Open
Assignees

Comments

@JohnLevander
Copy link
Member

JohnLevander commented Jan 24, 2019

In the current XSD, we have "dataInputFormats" as a list. This gets confusing when we use this list to mean both "all the different types of formats this software will except" and "all the inputs required by this software."

We need to make dataInputFormats a list of something like a new "SoftwareInput" type. The Software Input type will describe 1. the input number (1,2,3, etc) and then formats allowed for that number.

An entry that defines a software input that requires a synthetic ecosystem might look like this...

<dataInputFormats>
<SoftwareInput>
<id>
1
</id>
<description>
Synthetic Ecosystem File
</description>
<dataFormats>
MIDAS-ISG:synthia-us-v2010
</dataFormats>
<dataFormats>
MIDAS-ISG:spew-us-format-v1.2.0
</dataFormats>
</dataInputFormats>
@jeffstazer
Copy link

• Transferred info from dataInputFormats/dataOutputFormats to inputs/outputs in the database (json)
• Updated the modal from the main page to show the dataFormats from the new location (inputs/outputs)
• Updated the edit page to allow insertion/editing of inputs/outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants