We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64483e7 commit 20cdc39Copy full SHA for 20cdc39
parastell/magnet_coils.py
@@ -76,7 +76,11 @@ def import_geom_cubit(self):
76
if cubit_utils.initialized:
77
first_vol_id += get_last_id("volume")
78
79
- import_geom_to_cubit(self.step_path)
+ if self.step_path:
80
+ import_geom_to_cubit(self.step_path)
81
+ else:
82
+ import_geom_to_cubit(self.geometry_file)
83
+
84
self.cubit_volume_ids = self.volume_ids + first_vol_id
85
86
def merge_surfaces(self):
0 commit comments