mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-09-13 04:04:09 +00:00
38 lines
3.7 KiB
Plaintext
38 lines
3.7 KiB
Plaintext
python : test_pipeline_execution (tests.cookbook.test_disease_network_ana
|
|
lysis.TestDiseaseNetworkAnalysis.test_pipeline_execution)
|
|
At line:1 char:32
|
|
+ ... NG="utf-8"; python -m unittest -v
|
|
tests/cookbook/test_disease_network ...
|
|
+
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
+ CategoryInfo : NotSpecified: (test_pipeline_e...line_exec
|
|
ution):String) [], RemoteException
|
|
+ FullyQualifiedErrorId : NativeCommandError
|
|
|
|
Skipping imports due to missing dependencies: cannot import name 'Relation' from partially initialized module 'semantica.semantic_extract.relation_extractor' (most likely due to a circular import) (C:\Users\Mohd Kaif\semantica\semantica\semantic_extract\relation_extractor.py)
|
|
|
|
|
|
Replicates the logic of
|
|
cookbook/use_cases/healthcare/02_Disease_Network_Analysis.ipynb ... ERROR
|
|
|
|
======================================================================
|
|
ERROR: test_pipeline_execution (tests.cookbook.test_disease_network_analy
|
|
sis.TestDiseaseNetworkAnalysis.test_pipeline_execution)
|
|
Replicates the logic of
|
|
cookbook/use_cases/healthcare/02_Disease_Network_Analysis.ipynb
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\Users\Mohd
|
|
Kaif\semantica\tests\cookbook\test_disease_network_analysis.py", line
|
|
76, in test_pipeline_execution
|
|
parsed_data = structured_parser.parse_json(self.disease_file)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
AttributeError: 'StructuredDataParser' object has no attribute
|
|
'parse_json'
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 1 test in 0.048s
|
|
|
|
FAILED (errors=1)
|
|
🧠 Semantica is ingesting 🔄 📥 [ingest] FileIngestor 📄 disease_data.json (0.0s)
|