Skip to content

Commit 386a5c2

Browse files
tomolopolisTom Searle
andauthored
Trainer remove medcat utils (#225)
* CU-869awpaf3: medcat-trainer (chore): remove lib now in medcat lib proper * CU-869awpaf3: medcat-trainer (chore): update medcat lib * CU-869awpaf3: medcat-trainer (chore): remove init to ficx django test discovery --------- Co-authored-by: Tom Searle <tom@cogstack.org>
1 parent 7442cec commit 386a5c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

medcat-trainer/webapp/api/api/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
import os
23
import traceback
34
from smtplib import SMTPException
@@ -11,11 +12,12 @@
1112
from django.shortcuts import render
1213
from django.utils import timezone
1314
from django_filters import rest_framework as drf
14-
from medcat.utils.cdb_utils import ch2pt_from_pt2ch, get_all_ch, snomed_ct_concept_path
15+
1516
from rest_framework import viewsets
1617
from rest_framework.decorators import api_view
1718
from rest_framework.response import Response
1819
from medcat.components.ner.trf.deid import DeIdModel
20+
from medcat.utils.cdb_utils import ch2pt_from_pt2ch, get_all_ch, snomed_ct_concept_path
1921

2022
from .admin import download_projects_with_text, download_projects_without_text, \
2123
import_concepts_from_cdb

medcat-trainer/webapp/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ django-polymorphic==3.0.*
66
djangorestframework==3.15.*
77
django-background-tasks-updated==1.2.*
88
openpyxl==3.1.2
9-
medcat[meta-cat,spacy,rel-cat,deid]==2.2.*
9+
medcat[meta-cat,spacy,rel-cat,deid]==2.3.*
1010
psycopg[binary,pool]==3.2.9
1111
cryptography==45.0.*
1212
drf-oidc-auth==3.0.0

0 commit comments

Comments
 (0)