Skip to main content

GUI for ground truth generation from .rtdc files for machine-learning-based event classification in deformability cytometry

Project description

PyPI Version Build Status Coverage Status

DCTag is a graphical toolkit for manually annotating RT-DC events for machine-learning purposes.

Installing DCTag

This section is only for users. If you are a developer and want to contribute to DCTag, you have to clone the repository and install in editable mode (see further below).

There are no graphical installers. You must install Python 3.10 or later and install DCTag via pip:

pip install dctag

To upgrade to a new version, use the --upgrade argument:

pip install --upgrade dctag

Running DCTag

If installed properly, a simple dctag should work. Otherwise (make sure the virtual environment is active):

python -m dctag

For Developers

Here is how to work on contributions:

  1. Fork this repository, create your virtual environment and install in editable mode via pip install -e . in the repository root.

  2. Create an issue or open the issue that you want to address.

  3. Assign yourself to that issue so nobody else is working on it.

  4. Verify that nobody else is currently working an an issue that might interfere with your issue (e.g. editing same part of a file)

  5. Activate your virtual environment and install dctag in editable mode:

    pip install -e .
  1. Create a new branch that starts with your issue number and short description:

    git branch 15-keyboard-control
    git checkout 15-keyboard-control
  2. Make your changes and commit:

    git commit -a -m "feat: introduced keyboard control"
    # for the first push
    git push --set-upstream origin 15-keyboard-control
    # for consecutive changes
    git commit -a -m "fix: layout reversed"
    git push
  3. After making your changes, create your pull request.

Testing

To run all tests, install the requirements and run pytest:

pip install -r tests/requirements.txt
pytest tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dctag-0.8.1.tar.gz (304.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dctag-0.8.1-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file dctag-0.8.1.tar.gz.

File metadata

  • Download URL: dctag-0.8.1.tar.gz
  • Upload date:
  • Size: 304.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for dctag-0.8.1.tar.gz
Algorithm Hash digest
SHA256 40851e7263c6fbe84bafc2dd10062478d067adfe4cd5e3c3a7900eb7ff3ed7c2
MD5 14554be6c905dfdafe5588d33f8d0a32
BLAKE2b-256 f68462363f93c478157ad20cb6a088f1f69e30e52fdba111100e5c44087f4902

See more details on using hashes here.

File details

Details for the file dctag-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: dctag-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 51.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for dctag-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db75148d0ca241f299b1b8078ceb8c26cd7a66d2b0cc0de5349abcd4b2a8f098
MD5 e3d1e8a4ce4dc7e8b9ff634c1ff54b63
BLAKE2b-256 273e4ec6c1747957d1a3591187dfdc427b23ee7a411088730f88e21897e03dc7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page