File tree Expand file tree Collapse file tree
examples/linear-elastic-plate-with-hole Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343for file in root_unzipped_benchmark_dir .glob ("parameters_*.json" ):
4444 with open (file , "r" ) as f :
4545 data = json .load (f )
46- #if data.get("element_size[m]") >= 0.025:
47- #if data.get("configuration") == "1":
48- if 1 == 1 :
46+ if data .get ("element_size[m]" ) >= 0.025 :
47+
4948 # Create output directory for the configuration
5049 output_dir = root_unzipped_benchmark_dir / "results" / data .get ("configuration" )
5150 output_dir .mkdir (parents = True , exist_ok = True )
Original file line number Diff line number Diff line change 4343for file in root_unzipped_benchmark_dir .glob ("parameters_*.json" ):
4444 with open (file , "r" ) as f :
4545 data = json .load (f )
46- # if data.get("element_size[m]") >= 0.025:
47- if 1 == 1 :
46+ if data .get ("element_size[m]" ) >= 0.025 :
47+
4848 # Create output directory for the configuration
4949 output_dir = root_unzipped_benchmark_dir / "results" / data .get ("configuration" )
5050 output_dir .mkdir (parents = True , exist_ok = True )
You can’t perform that action at this time.
0 commit comments