Files
semantica/test_output_2.txt

54 lines
5.1 KiB
Plaintext

python : test_pipeline_execution (tests.cookbook.test_disease_network_ana
lysis.TestDiseaseNetworkAnalysis.test_pipeline_execution)
At line:1 char:1
+ python -m unittest -v tests/cookbook/test_disease_network_analysis.py
...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (test_pipeline_e...line_exec
ution):String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
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
72, in test_pipeline_execution
file_objects = file_ingestor.ingest_file(self.disease_file,
read_content=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Mohd Kaif\semantica\semantica\ingest\file_ingestor.py",
line 520, in ingest_file
tracking_id = self.progress_tracker.start_tracking(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Mohd
Kaif\semantica\semantica\utils\progress_tracker.py", line 842, in
start_tracking
display.update(item)
File "C:\Users\Mohd
Kaif\semantica\semantica\utils\progress_tracker.py", line 248, in update
sys.stdout.write(line)
File "C:\Users\Mohd
Kaif\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py",
line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f9e0'
in position 0: character maps to <undefined>
----------------------------------------------------------------------
Ran 1 test in 0.118s
FAILED (errors=1)
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)