# This tree holds a 116 GB conda installation, a 10 GB tarball, 12 GB of demo
# imagery and years of run outputs. Exclude everything, then re-include the code.
*

!.gitignore
!README.md
!LICENSE
!CITATION.cff
!docs/
!docs/**
!docker/
!docker/**
!environments/
!environments/**
!packages/
!packages/**

# the Descriptron programs themselves
!segment-anything-2/
segment-anything-2/*
!segment-anything-2/gui/
segment-anything-2/gui/*
!segment-anything-2/gui/*.py
!segment-anything-2/gui/*.sh
!segment-anything-2/gui/measure/
segment-anything-2/gui/measure/*
!segment-anything-2/gui/measure/*.py
!segment-anything-2/gui/measure/*.sh
!segment-anything-2/gui/measure/biorag_prompts/
!segment-anything-2/gui/measure/biorag_prompts/**
!segment-anything-2/gui/measure/tests/
!segment-anything-2/gui/measure/tests/*.py
!segment-anything-2/gui/torchvision_det/
!segment-anything-2/gui/torchvision_det/**
!segment-anything-2/gui/detectron2/
segment-anything-2/gui/detectron2/*
!segment-anything-2/gui/detectron2/*.py
!segment-anything-2/gui/icons/
!segment-anything-2/gui/icons/**
!segment-anything-2/gui/marmot.jpg

# never, whatever the rules above say
**/__pycache__/
**/*.pyc
**/*.bak*
**/.ipynb_checkpoints/
**/*.pth
**/*.pt
**/*.ckpt
**/*.onnx
**/*.log
**/dist/
**/build/
**/*.egg-info/
packages/*/src/*/tools/
packages/*/src/*/data/
