Skip to content

FEATURE Add verb canonize and modify export to export in json and force option

Chosson Ulysse requested to merge FEATURE_add_canonize_export_json_to_click into main

[0.15.1-alpha] - 2021-07-10

Add

  • Add to export CLI function json to export in json
  • Add a verb, 'canonize' to sort a dict with this schema : exo_type (star -> planet -> satellite -> comet -> pulsar -> ring -> disk) -> alphabetic by name (a -> ... -> z)

Change

  • Change how we use the export command (exodam.py export [OPTIONS] PATH), with option force and format (csv or json, csv by default)

Fix

  • Bug fix in tojson pytest write the path and not the dict in the export file .json

Merge request reports