Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
1d852b5
Rename medcat-v2 folder to medcat
mart-r Aug 18, 2026
8ec1de4
Rename medcat-v2-tutorials to medcat-tutorials
mart-r Aug 18, 2026
121de42
Add README in old folder to point to new foldeR
mart-r Aug 18, 2026
7110a66
Move main workflow to correct folder
mart-r Aug 18, 2026
2f1bb7b
Move release workflow to correct folder
mart-r Aug 18, 2026
fc596ea
Move lib stability workflow to correct folder
mart-r Aug 18, 2026
304433d
Move tutorials workflow to use correct folder
mart-r Aug 18, 2026
a7455de
Fix some v1 links / references (that used v1 paths)
mart-r Aug 18, 2026
b06fcf0
Fix some v1 links / references (that used v1 paths)
mart-r Aug 18, 2026
62cc493
Fix reference in scripts README
mart-r Aug 18, 2026
d04ba61
Fix notebook patch install path for tutorials
mart-r Aug 18, 2026
fb1de39
Update medcat tutorials README
mart-r Aug 18, 2026
e69fafc
Fix notebooks documentation
mart-r Aug 18, 2026
c2f01f1
Fix paths in paper speed script
mart-r Aug 18, 2026
120c60a
Fix paths in paper unsup train speed script
mart-r Aug 18, 2026
7933264
Fix medcat-v2 paths in get inference speed script in paper
mart-r Aug 18, 2026
f95ba09
Fix get all performance script paths in paper
mart-r Aug 18, 2026
fac95ea
Fix get regression script paths in paper
mart-r Aug 18, 2026
7643cd7
Fix paths in mkdocs for medcat
mart-r Aug 18, 2026
27cc0ae
Fic paths in install bundle readme
mart-r Aug 18, 2026
bca818e
Fix resource fetch doc string path
mart-r Aug 18, 2026
9e7c788
Fix v2 link in v1 news docs
mart-r Aug 18, 2026
504b0ac
Fix path in migration guide
mart-r Aug 18, 2026
1e3fd76
Fix hard link in medcat README
mart-r Aug 18, 2026
e7c5bf5
Fix paths in read the docs config
mart-r Aug 18, 2026
218e2e5
Fix core lib path in service docker file
mart-r Aug 18, 2026
4fb0b5e
Fix link in medcat service setup configuration
mart-r Aug 18, 2026
65ad1bd
Fix link in medcat service docs index
mart-r Aug 18, 2026
2723d8a
Fix paths in medcat service readme
mart-r Aug 18, 2026
f2f08ef
Fix medcat service gpu-dockerfile
mart-r Aug 18, 2026
9d44930
Fix paths in overal README
mart-r Aug 18, 2026
acab7b6
Fix anoncat demo app readme path
mart-r Aug 18, 2026
f39f0c0
Fix install path in transformers NER CI
mart-r Aug 18, 2026
6157aac
Fix tutorials path in deps update workflow
mart-r Aug 18, 2026
561d59b
Fix path in medcat service compose file
mart-r Aug 18, 2026
d1b309f
Fix install path for embedding linker workflow
mart-r Aug 18, 2026
2994a43
Fix paths in v2 tutotirals CI
mart-r Aug 18, 2026
a7be11f
Fix paths in trainer workflow
mart-r Aug 18, 2026
13dd5a5
Fix path in medcat-service CI / workflow
mart-r Aug 18, 2026
e1a0dc5
Fix path in medcat model distributor CI
mart-r Aug 18, 2026
57412c1
Fix local install path for medcat den workflow
mart-r Aug 18, 2026
afe835b
Fix local install path for medcat-scripts workflow
mart-r Aug 18, 2026
595d355
Fix local paths for model distributor test-compose
mart-r Aug 18, 2026
2eb0d99
Fix note regarding path in resource fetcher
mart-r Aug 18, 2026
722ff5c
Fix link/reference in security docs
mart-r Aug 18, 2026
c1d0bfa
Remove (most of) v1-specific references from README
mart-r Aug 18, 2026
cc38906
Add back v1 info to a separate docs page
mart-r Aug 18, 2026
8463811
Move legacy conversion to a separate document
mart-r Aug 18, 2026
5606e03
Add link to legacy conversion docs to v1 info docs
mart-r Aug 18, 2026
5bce16c
Add v1 info page to docs
mart-r Aug 18, 2026
498cefc
Fix minor issue in the preamble of mkdocs
mart-r Aug 19, 2026
80034c4
Fix relative link to migration tutorial
mart-r Aug 19, 2026
d6c60a8
Add a hook to fix issue with relative links in README
mart-r Aug 19, 2026
ae3eef5
Fix docs hook
mart-r Aug 19, 2026
a1ec2ff
Fix docs hook for the (hopefully) final time
mart-r Aug 19, 2026
c9605da
Fix import in hook
mart-r Aug 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/medcat-den_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uv sync --all-extras --dev
uv run python -m ensurepip
uv run python -m pip install --upgrade pip
uv run python -m pip install "../medcat-v2[spacy,deid,meta-cat,rel-cat]"
uv run python -m pip install "../medcat[spacy,deid,meta-cat,rel-cat]"
- name: Check types
run: |
uv run python -m mypy --follow-imports=normal src/medcat_den
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/medcat-deps-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
python .github/scripts/bump_dependants.py \
--version "${{ steps.version.outputs.version }}" \
--package "medcat" \
--dependants "medcat-scripts" "medcat-v2-tutorials" "medcat-service"
--dependants "medcat-scripts" "medcat-tutorials" "medcat-service"
2 changes: 1 addition & 1 deletion .github/workflows/medcat-embedding-linker_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uv sync --all-extras --dev
uv run python -m ensurepip
uv run python -m pip install --upgrade pip
uv run python -m pip install "../../medcat-v2[spacy]"
uv run python -m pip install "../../medcat[spacy]"
- name: Check types
run: |
uv run python -m mypy --follow-imports=normal src/medcat_embedding_linker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/medcat-model-distributor_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
pull_request:
paths:
- 'medcat-model-distributor/**'
- 'medcat-v2/**'
- 'medcat/**'
- '.github/workflows/medcat-model-distributor**'
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/medcat-scripts_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uv pip install -r requirements.txt
uv pip install -r requirements-dev.txt
# reinstall MedCAT from local to test against changes in core lib
uv pip install "../medcat-v2[spacy,deid,meta-cat,rel-cat]"
uv pip install "../medcat[spacy,deid,meta-cat,rel-cat]"
- name: Check types
run: |
# NOTE: Only testing against .py files in this folder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/medcat-service_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'medcat-service/v*.*.*' # e.g., medcat-serice/v0.1.1
pull_request:
paths:
- 'medcat-v2/**'
- 'medcat/**'
- 'medcat-service/**'
- '.github/workflows/medcat-service**'

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
flavor: latest=false

- name: Make medact-v2 available within build
run: cp -r ../medcat-v2 medcat-v2
run: cp -r ../medcat medcat

- name: Build Docker MedCATservice image for testing
id: docker_build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/medcat-service_run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ main ]
pull_request:
paths:
- 'medcat-v2/**'
- 'medcat/**'
- 'medcat-service/**'
- '.github/workflows/medcat-service**'

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
python -m pip install virtualenv setuptools
python -m pip install isort flake8 mypy stubs types-Flask types-simplejson types-setuptools types-requests
python -m pip install -r ./requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu/;
python -m pip install "../medcat-v2[meta-cat,spacy,deid]"
python -m pip install "../medcat[meta-cat,spacy,deid]"

- name: Check linting and types
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/medcat-trainer_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
matrix:
medcat-source:
- released # current behaviour, pins to lockfile
- local # tests against ../medcat-v2
- local # tests against ../medcat
steps:
- name: Checkout main
uses: actions/checkout@v7
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:
if: matrix.medcat-source == 'local'
run: |
cd webapp
uv pip install --editable "../../medcat-v2[meta-cat,spacy,rel-cat,deid,dict-ner]"
uv pip install --editable "../../medcat[meta-cat,spacy,rel-cat,deid,dict-ner]"

- name: Run Django tests with coverage
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/medcat-transformer-ner-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uv sync --all-extras --dev
uv run python -m ensurepip
uv run python -m pip install --upgrade pip
uv run python -m pip install "../../medcat-v2[spacy]"
uv run python -m pip install "../../medcat[spacy]"
- name: Check types
run: |
uv run python -m mypy --follow-imports=normal src/medcat_transformer_ner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/medcat-v2-lib-stability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

defaults:
run:
working-directory: ./medcat-v2
working-directory: ./medcat


jobs:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/medcat-v2-tutorials_main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: medcat-v2-tutorials - Test
name: medcat-tutorials - Test

on:
push:
branches: [ main ]
pull_request:
paths:
- 'medcat-v2/**'
- 'medcat-v2-tutorials/**'
- 'medcat/**'
- 'medcat-tutorials/**'
- '.github/workflows/medcat-v2**'
- '.github/workflows/medcat-v2-tutorials**'
- '.github/workflows/medcat-tutorials**'
defaults:
run:
working-directory: ./medcat-v2-tutorials
working-directory: ./medcat-tutorials

jobs:
basic-and-meta:
Expand All @@ -32,7 +32,7 @@ jobs:
run: |
pip install -U pip
pip install -r requirements.txt
pip install "../medcat-v2[spacy,deid,rel-cat,meta-cat]"
pip install "../medcat[spacy,deid,rel-cat,meta-cat]"

- name: Install IPython kernel
run: |
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
pip install -U pip
pip install -r requirements.txt
pip install "../medcat-v2[spacy,deid,rel-cat,meta-cat]"
pip install "../medcat[spacy,deid,rel-cat,meta-cat]"

- name: Install IPython kernel
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/medcat-v2_main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: medcat-v2 - Test
name: medcat - Test

on:
push:
branches: [ main ]
pull_request:
paths:
- 'medcat-v2/**'
- 'medcat/**'
- '.github/workflows/medcat-v2**'
defaults:
run:
working-directory: ./medcat-v2
working-directory: ./medcat
jobs:
test-resource-utils:
runs-on: ubuntu-latest
Expand All @@ -28,7 +28,7 @@ jobs:
with:
python-version: "3.10"
enable-cache: true
cache-dependency-glob: "medcat-v2/uv.lock"
cache-dependency-glob: "medcat/uv.lock"
- name: Install the project
run: |
uv sync # NO extras
Expand All @@ -49,7 +49,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "medcat-v2/uv.lock"
cache-dependency-glob: "medcat/uv.lock"
- name: Install the project
run: |
uv sync --all-extras --dev
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/medcat-v2_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: medcat-v2 - Build Python Package
name: medcat - Build Python Package

on:
push:
Expand All @@ -13,11 +13,11 @@ permissions:

defaults:
run:
working-directory: ./medcat-v2
working-directory: ./medcat

jobs:
build:
name: Build medcat-v2 wheel
name: Build medcat wheel
runs-on: ubuntu-latest
outputs:
version_tag: ${{ steps.extract.outputs.version_tag }}
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
- name: Upload wheel artifact
uses: actions/upload-artifact@v7
with:
name: medcat-v2-wheel
name: medcat-wheel
path: |
medcat-v2/dist/*.whl
medcat-v2/dist/*.tar.gz
medcat/dist/*.whl
medcat/dist/*.tar.gz

bundle:
name: Build install bundles
Expand Down Expand Up @@ -131,8 +131,8 @@ jobs:
- name: Download built medcat wheel for inclusion in bundles
uses: actions/download-artifact@v8
with:
name: medcat-v2-wheel
path: medcat-v2/built-wheel
name: medcat-wheel
path: medcat/built-wheel

- name: List downloaded artifacts
run: ls -lh built-wheel
Expand All @@ -152,8 +152,8 @@ jobs:
with:
name: bundles-${{ matrix.python-version }}
path: |
medcat-v2/medcat-v${{ needs.build.outputs.version_only }}-${{ matrix.python-version }}-cpu.tar.gz
# medcat-v2/medcat-v${{ needs.build.outputs.version_only }}-${{ matrix.python-version }}-gpu.tar.gz
medca2/medcat-v${{ needs.build.outputs.version_only }}-${{ matrix.python-version }}-cpu.tar.gz
# medcat/medcat-v${{ needs.build.outputs.version_only }}-${{ matrix.python-version }}-gpu.tar.gz

release:
name: Create GitHub Release
Expand All @@ -163,7 +163,7 @@ jobs:
- name: Download all artifacts
uses: actions/download-artifact@v8
with:
path: medcat-v2/artifacts
path: medcat/artifacts

- name: Move all bundles to dist/
run: |
Expand All @@ -175,8 +175,8 @@ jobs:
- name: Download built wheel
uses: actions/download-artifact@v8
with:
name: medcat-v2-wheel
path: medcat-v2/dist-wheel
name: medcat-wheel
path: medcat/dist-wheel

- name: Move wheels to dist/
run: |
Expand All @@ -194,7 +194,7 @@ jobs:
draft: true
# softprops/action-gh-release v2 doesnt support the working-directory field, so put the path in files
files: |
medcat-v2/dist/*
medcat/dist/*

- name: Remove install bundles in preparations for PyPI push
run: |
Expand All @@ -204,7 +204,7 @@ jobs:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: medcat-v2/dist
packages-dir: medcat/dist

# test-time models for download
upload-test-models:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

## Latest Releases

[![medcat-v2](https://img.shields.io/github/v/release/CogStack/cogstack-nlp?filter=medcat/*&label=medcat-v2)](https://github.com/CogStack/cogstack-nlp/releases/latest)
[![medcat](https://img.shields.io/github/v/release/CogStack/cogstack-nlp?filter=medcat/*&label=medcat-v2)](https://github.com/CogStack/cogstack-nlp/releases/latest)
[![medcat-den](https://img.shields.io/github/v/release/CogStack/cogstack-nlp?filter=medcat-den/*&label=medcat-den)](https://github.com/CogStack/cogstack-nlp/releases/latest)
[![medcat-trainer](https://img.shields.io/github/v/release/CogStack/cogstack-nlp?filter=medcat-trainer/*&label=medcat-trainer)](https://github.com/CogStack/cogstack-nlp/releases/latest)
[![medcat-service](https://img.shields.io/github/v/release/CogStack/cogstack-nlp?filter=medcat-service/*&label=medcat-service)](https://github.com/CogStack/cogstack-nlp/releases/latest)
<!-- [![pypi Version](https://img.shields.io/pypi/v/medcat.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/medcat/) -->

CogStack Natural Language Processing offers tools to process and extract information from clinical text and documents in Electronic Health Records (EHRs).

The primary NLP focus is the [Medical Concept Annotation Tool](medcat-v2/README.md) (MedCAT), a self-supervised machine learning algorithm for extracting concepts using any concept vocabulary including UMLS/SNOMED-CT. See the paper on [arXiv](https://arxiv.org/abs/2010.01165).
The primary NLP focus is the [Medical Concept Annotation Tool](medcat/README.md) (MedCAT), a self-supervised machine learning algorithm for extracting concepts using any concept vocabulary including UMLS/SNOMED-CT. See the paper on [arXiv](https://arxiv.org/abs/2010.01165).


**Official Docs [here](https://docs.cogstack.org)**
Expand All @@ -27,11 +27,11 @@ The primary NLP focus is the [Medical Concept Annotation Tool](medcat-v2/README.
## Projects

### NLP
- [Medical Concept Annotation Tool](medcat-v2/README.md): MedCAT can be used to extract information from Electronic Health Records (EHRs) and link it to biomedical ontologies like SNOMED-CT, UMLS, or HPO (and potentially other ontologies).
- [Medical Concept Annotation Tool](medcat/README.md): MedCAT can be used to extract information from Electronic Health Records (EHRs) and link it to biomedical ontologies like SNOMED-CT, UMLS, or HPO (and potentially other ontologies).
- [Medical Concept Annotation Tool Trainer](medcat-trainer/README.md): MedCATTrainer is an interface for building, improving and customising a given Named Entity Recognition and Linking (NER+L) model (MedCAT) for biomedical domain text.
- [MedCAT Service](medcat-service/README.md): A REST API wrapper for [MedCAT](https://github.com/CogStack/cogstack-nlp/blob/main/medcat-v2/), allowing you to send text for processing and receive structured annotations in response.
- [MedCAT Service](medcat-service/README.md): A REST API wrapper for [MedCAT](https://github.com/CogStack/cogstack-nlp/blob/main/medcat/), allowing you to send text for processing and receive structured annotations in response.

### Learning and Demos
- [Deidentify app](anoncat-demo-app/README.md): Demo for AnonCAT. It uses [MedCAT](https://github.com/CogStack/cogstack-nlp/tree/main/medcat-v2), an advanced natural language processing tool, to identify and classify sensitive information, such as names, addresses, and medical terms.
- [Deidentify app](anoncat-demo-app/README.md): Demo for AnonCAT. It uses [MedCAT](https://github.com/CogStack/cogstack-nlp/tree/main/medcat), an advanced natural language processing tool, to identify and classify sensitive information, such as names, addresses, and medical terms.
- [MedCAT Demo App](medcat-demo-app/README.md): A simple web application showcasing how to use MedCAT for clinical text annotation.
- [MedCAT Tutorials](medcat-v2-tutorials/README.md): The MedCAT Tutorials privde an interactive learning path for using MedCAT
- [MedCAT Tutorials](medcat-tutorials/README.md): The MedCAT Tutorials privde an interactive learning path for using MedCAT
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ There are multiple projects in this repo. Versions are released as tags with a p
We actively support security updates for the following versions:

### MedCAT NLP Library
- [Medical Concept Annotation Tool](medcat-v2/README.md)
- [Medical Concept Annotation Tool](medcat/README.md)

| Version | Supported |
| ------- | ------------------ |
Expand Down Expand Up @@ -55,4 +55,4 @@ Instead, report it privately by using the **[GitHub Security Advisories](https:/

- Do not publicly disclose details of the vulnerability until we have released a fix.
- Do not attempt to exploit the vulnerability beyond what is necessary to demonstrate it.
- Provide as much detail as possible (affected versions, reproduction steps, etc.) to help us triage the issue quickly.
- Provide as much detail as possible (affected versions, reproduction steps, etc.) to help us triage the issue quickly.
2 changes: 1 addition & 1 deletion anoncat-demo-app/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deidentify app

Demo for AnonCAT. It uses [MedCAT](https://github.com/CogStack/cogstack-nlp/tree/main/medcat-v2), an advanced natural language processing tool, to identify and classify sensitive information, such as names, addresses, and medical terms.
Demo for AnonCAT. It uses [MedCAT](https://github.com/CogStack/cogstack-nlp/tree/main/medcat), an advanced natural language processing tool, to identify and classify sensitive information, such as names, addresses, and medical terms.

## Example

Expand Down
2 changes: 1 addition & 1 deletion medcat-den/tests/resource_fetch.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: this file is designed to be copied across the following sub-folders
# 1. medcat-v2/tests/resource_fetch.py
# 1. medcat/tests/resource_fetch.py
# 2. medcat-den/tests/resource_fetch.py
# So if you make changes here, copy them over to the others as well.
#
Expand Down
2 changes: 1 addition & 1 deletion medcat-model-distributor/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
build:
context: ./webapp
volumes:
- ../medcat-v2/tests/resources:/webapp/models
- ../medcat/tests/resources:/webapp/models
ports:
- "8000:8000"
env_file:
Expand Down
4 changes: 2 additions & 2 deletions medcat-scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This project contains the relevant tools and notebooks to help users work with MedCAT models.
This includes instructions on finetuning models in an unsupervised or supervised manner as well as evaluating MedCATtrainer exports and run models on data.

Some tutorials in [medcat-v2-tutorials](../medcat-v2-tutorials/) may also be of help.
Some tutorials in [medcat-tutorials](../medcat-tutorials/) may also be of help.

# Setup

Expand All @@ -20,4 +20,4 @@ python -m medcat download-scripts
You may subsequently need to install the relevant requirements
```
python -m pip install -r requirements.txt
```
```
2 changes: 1 addition & 1 deletion medcat-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ COPY . /cat
ARG REINSTALL_CORE_FROM_LOCAL=false
RUN if [ "$REINSTALL_CORE_FROM_LOCAL" = "true" ]; then \
echo "Reinstalling medcat based on relative path"; \
SETUPTOOLS_SCM_PRETEND_VERSION="2.4.0-dev0" pip install -e "./medcat-v2[meta-cat,spacy]"; \
SETUPTOOLS_SCM_PRETEND_VERSION="2.4.0-dev0" pip install -e "./medcat[meta-cat,spacy]"; \
fi

# Now run the simple api
Expand Down
2 changes: 1 addition & 1 deletion medcat-service/Dockerfile_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ COPY . /cat
ARG REINSTALL_CORE_FROM_LOCAL=false
RUN if [ "$REINSTALL_CORE_FROM_LOCAL" = "true" ]; then \
echo "Reinstalling medcat based on relative path"; \
SETUPTOOLS_SCM_PRETEND_VERSION="2.4.0-dev0" pip install -e "./medcat-v2[meta-cat,spacy]"; \
SETUPTOOLS_SCM_PRETEND_VERSION="2.4.0-dev0" pip install -e "./medcat[meta-cat,spacy]"; \
fi

# Now run the simple api
Expand Down
Loading
Loading