Skip to content

Commit

Permalink
Remove floorplan name from base path
Browse files Browse the repository at this point in the history
  • Loading branch information
argenos committed Jun 21, 2024
1 parent 875fdd6 commit 36073c7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/fpm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,10 @@ def generate(configfile, inputs, output_path, **kwargs):
g = build_graph_from_directory(inputs)
model_name = get_floorplan_model_name(g)

base_path = os.path.join(output_path, model_name)
tasks(g, output_path, config)

tasks(g, base_path, config)

door_object_models(g, base_path, **kwargs)
gazebo_world(g, model_name, base_path, **kwargs)
door_object_models(g, output_path, **kwargs)
gazebo_world(g, model_name, output_path, **kwargs)


if __name__ == "__main__":
Expand Down

0 comments on commit 36073c7

Please sign in to comment.