Fri 16 May 23:06:54 CEST 2025
This commit is contained in:
parent
bb878e5286
commit
7f595a4369
|
@ -5,6 +5,8 @@ import numpy as np
|
||||||
# from SimNDT.run_setup.SimulationVideo import create_vector_field_video
|
# from SimNDT.run_setup.SimulationVideo import create_vector_field_video
|
||||||
from SimNDT.run_setup.runSimulator import openSim, runEngine #, saveVideo
|
from SimNDT.run_setup.runSimulator import openSim, runEngine #, saveVideo
|
||||||
|
|
||||||
|
Version = "SimNDT2b Ver. 1.2.2"
|
||||||
|
|
||||||
def main(json_filepath):
|
def main(json_filepath):
|
||||||
try:
|
try:
|
||||||
# Read the JSON file from the provided file path
|
# Read the JSON file from the provided file path
|
||||||
|
@ -21,6 +23,7 @@ def main(json_filepath):
|
||||||
print(e)
|
print(e)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
print(Version)
|
||||||
if len(sys.argv) != 2:
|
if len(sys.argv) != 2:
|
||||||
print("Usage: python main.py <path_to_json_file>")
|
print("Usage: python main.py <path_to_json_file>")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user