mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-02 02:57:52 +00:00
Merge changes I4e407484,Id35aeffe
* changes: examples: json-to-csv: fix invocation examples: fix JSON-to-CSV description
This commit is contained in:
@@ -18,9 +18,9 @@ from gnpy.tools.json_io import load_equipment
|
||||
from gnpy.topology.request import jsontocsv
|
||||
|
||||
|
||||
parser = ArgumentParser(description='A function that writes json path results in an excel sheet.')
|
||||
parser.add_argument('filename', nargs='?', type=Path)
|
||||
parser.add_argument('output_filename', nargs='?', type=Path)
|
||||
parser = ArgumentParser(description='Converting JSON path results into a CSV')
|
||||
parser.add_argument('filename', type=Path)
|
||||
parser.add_argument('output_filename', type=Path)
|
||||
parser.add_argument('eqpt_filename', nargs='?', type=Path, default=Path(__file__).parent / 'eqpt_config.json')
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user