+ 清除无关的项目文件夹,并忽略项目文件夹
This commit is contained in:
parent
2130df7bb6
commit
81f191f983
|
@ -1,2 +1,3 @@
|
|||
.idea
|
||||
__pycache__
|
||||
__pycache__
|
||||
app/projects/*
|
|
@ -20,6 +20,9 @@ def create_project():
|
|||
|
||||
make_dir(PROJECT_PATH.format(project_name))
|
||||
write_json(PROJECT_CONFIG_PATH.format(project_name), param)
|
||||
anno_path = ANNO_OUTPUT_PATH.format(project_name)
|
||||
if not os.path.exists(anno_path):
|
||||
write_json(anno_path, [])
|
||||
|
||||
ret_info.errCode = 0
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
[{"fileName": "文本1 - 副本 - 副本 (3).txt", "annoDetails": "[]"}, {"fileName": "文本1 - 副本 - 副本 (4) - 副本.txt", "annoDetails": "[]"}, {"fileName": null, "annoDetails": "[]"}, {"fileName": "", "annoDetails": "[]"}]
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "123", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"123\",\"color\":\"#c15892\"}]"}
|
|
@ -1 +0,0 @@
|
|||
[{"fileName": "", "annoDetails": "[]"}]
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "222", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"23\",\"color\":\"#2ea5f5\"},{\"type\":\"12\",\"color\":\"#f8e817\"}]"}
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "demo1", "projectType": "nlp 标注", "entityTypes": "[{\"type\":\"person1\",\"color\":\"#e61490\"},{\"type\":\"location\",\"color\":\"#0aab8a\"},{\"type\":\"organiztion\",\"color\":\"#2770cd\"},{\"type\":\"123\",\"color\":\"#1c7a82\"}]"}
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "demo4", "projectType": "nlp 标注", "entityTypes": [{"type": "person1", "color": "#e61490"}, {"type": "location", "color": "#0aab8a"}, {"type": "organiztion", "color": "#2770cd"}, {"type": "123", "color": "#1c7a82"}]}
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "xixixi", "projectType": "命名实体识别", "entityTypes": "[]"}
|
|
@ -1 +0,0 @@
|
|||
[{"fileName": null, "annoDetails": "[]"}, {"fileName": "", "annoDetails": "[]"}]
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "医疗", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"pos\",\"color\":\"#e67704\"}]"}
|
|
@ -1 +0,0 @@
|
|||
{"projectName": "项目", "projectType": "nlp 标注", "entityTypes": ""}
|
Loading…
Reference in New Issue