Skip to content
Snippets Groups Projects
Select Git revision
  • 9589d65660e8dcfd4be30b05d0b2794508fd0906
  • main default protected
  • 3D_UNet
  • notebooksv1
  • scaleZYX_mean
  • notebooks
  • convert_tiff_folders
  • test
  • notebook_update
  • threshold-exploration
  • optimize_scaleZYXdask
  • layered_surface_segmentation
  • conv_zarr_tiff_folders
  • 3d_watershed
  • tr_val_te_splits
  • save_files_function
  • memmap_txrm
  • v0.4.1
  • v0.4.0
  • v0.3.9
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.0
25 results

qim3d

  • Clone with SSH
  • Clone with HTTPS
  • Regit

    A tool to run changes on a git repository, as if it happened at the time.

    Running and Building

    This project uses PDM. After installing pdm you should be able to run the script by doing the following:

    pdm run python -m regit --help

    There are two modes:

    Stream mode, every file is given to the process's stdin, and the stdout is used to replace the content of the file. sed is used as the tool.

    pdm run python -m regit --mapping mapping.csv --pattern '*.md' sed 's/```console/```bash/'

    Rewrite mode, every file is changed in-place, use '{}' to represent the file that needs to change:

    pdm run python -m regit --mapping mapping.csv --pattern '*.py' -- sed -e 's/def/DEF/' -i '' {}

    Contributing

    All contributions are accepted under the license in LICENSE. After your first contribution please add your name to the pyproject.toml file.

    Notes