Skip to content

Commit

Permalink
Clarify attach_generator_files() doc strings (#287)
Browse files Browse the repository at this point in the history
Clarify that invoking attach_generator_files() overwrites
previously attached files.

[ committed by @mellis13 ]
[ reviewed by @MattToast ]
  • Loading branch information
mellis13 authored May 24, 2023
1 parent 7434157 commit 564b581
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smartsim/entity/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ def attach_generator_files(self, to_copy=None, to_symlink=None, to_configure=Non
"""Attach files to an entity for generation
Attach files needed for the entity that, upon generation,
will be located in the path of the entity.
will be located in the path of the entity. Invoking this method
after files have already been attached will overwrite
the previous list of entity files.
During generation, files "to_copy" are copied into
the path of the entity, and files "to_symlink" are
Expand Down

0 comments on commit 564b581

Please sign in to comment.