apsbits.api.create_new_instrument#
Create a new instrument from a fixed template.
Copies the template directory and updates pyproject.toml and .templatesyncignore.
Functions
|
Copy template directory to the destination. |
|
Create a qserver config file in the destination directory. |
|
Parse arguments and create the instrument. |
- apsbits.api.create_new_instrument.copy_instrument(destination_dir: Path) None [source]#
Copy template directory to the destination.
- Parameters:
template_dir – Path to the template directory.
destination_dir – Path to the new instrument directory.
- Returns:
None