Skip to content

convert v0.0.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@LzLang LzLang released this 01 Jun 14:58
· 67 commits to main since this release
14c6c48

convert:
Goal: Get input from startup arguments

Example: python convert.py "..\BrAPI_JSON_Schema_2-1\schemas\BrAPI-Core\Study.json" "..\results"

  • First argument: convert.py
  • Second argument: Path to input file
  • Third argument: Path to output folder (outputfile is named after input file)

Observation: Currently only one file at a time, planing to give just the path and automatically searches and opens json files


convertAPI:
Goal: Cleaning up the file

  • Commented every function
  • Changed names of functions and variables to a more readable and suitable name
  • Changed Exception handling (when opening a file excepts specifically OSError logs the occured error)
  • Merged getPropType and getZendroType to get_type for a better overview