Radhu903 / Git_Learning-

This repository is mainly set up to learn the workings of github
0 stars 1 forks source link

python search_lib.py --dict activity --sect introduction --proj eo_activity #8

Open Radhu903 opened 3 years ago

Radhu903 commented 3 years ago
C:\Users\DELL\openDiagram\physchem\python>
C:\Users\DELL\openDiagram\physchem\python>python search_lib.py --dict activity --sect introduction  --proj eo_activity
running search main
args Namespace(dict=['activity'], sect=['introduction'], proj=['eo_activity'], patt=None, demo=None, loglevel='foo', plot=True, nosearch=False, maxbars=25, languages=['en'], debug=None)
cmd sys.argv ['search_lib.py', '--dict', 'activity', '--sect', 'introduction', '--proj', 'eo_activity']
interpreted from cmd arg.demo None
project files not available for  C:\Users\DELL\openDiagram\python\diagrams\satish\cct
project files not available for  C:\Users\DELL\openVirus\miniproject\disease\1-part
project files not available for  C:\Users\DELL\worcester\synthesis
project files not available for  C:\Users\DELL\worcester\explosion
commandline args
dicts ['activity'] <class 'list'>
sects ['introduction'] <class 'list'>
projs ['eo_activity'] <class 'list'>
patterns None <class 'NoneType'>
args> Namespace(dict=['activity'], sect=['introduction'], proj=['eo_activity'], patt=None, demo=None, loglevel='foo', plot=True, nosearch=False, maxbars=25, languages=['en'], debug=None)
dict_name: activity
***** project C:\Users\DELL\eo_activity
_DESC <class 'str'> introduction or background; looks for these words anywhere in file titles
PROJ <class 'str'> C:\Users\DELL\eo_activity
TREE <class 'str'> *
SECTS <class 'str'> **
SUBSECT <class 'str'> *introduction*
SUBSUB <class 'str'> **
FILE <class 'str'> *
SUFFIX <class 'str'> xml
glob {'_DESC': 'introduction or background; looks for these words anywhere in file titles', 'PROJ': 'C:\\Users\\DELL\\eo_activity', 'TREE': '*', 'SECTS': '**', 'SUBSECT': '*introduction*', 'SUBSUB': '**', 'FILE': '*', 'SUFFIX': 'xml'} => C:\Users\DELL\eo_activity/*/**/*introduction*/**/*.xml
_DESC <class 'str'> introduction or background; looks for these words anywhere in file titles
PROJ <class 'str'> C:\Users\DELL\eo_activity
TREE <class 'str'> *
SECTS <class 'str'> **
SUBSECT <class 'str'> *background*
SUBSUB <class 'str'> **
FILE <class 'str'> *
SUFFIX <class 'str'> xml
glob {'_DESC': 'introduction or background; looks for these words anywhere in file titles', 'PROJ': 'C:\\Users\\DELL\\eo_activity', 'TREE': '*', 'SECTS': '**', 'SUBSECT': '*background*', 'SUBSUB': '**', 'FILE': '*', 'SUFFIX': 'xml'} => C:\Users\DELL\eo_activity/*/**/*background*/**/*.xml
files 579
***** section_files introduction 579
file C:\Users\DELL\eo_activity\PMC7514039\sections\1_body\0_introduction\0_title.xml
findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.
findfont: Font family ['Helvetica'] not found. Falling back to DejaVu Sans.
tool: C:\Users\DELL\CEVOpen\dictionary\eoActivity\eo_activity\activity
 [('antioxidant', 66), ('antifungal', 59), ('derivative', 9), ('antiprotozoal', 8), ('antiseptic', 7), ('cytotoxicity', 7), ('analgesic', 7), ('antiparasitic', 5), ('cosmetics', 4), ('anxiolytic', 4), ('antispasmodic', 3)]
MOVE make_dictionary
<dictionary title='C:\Users\DELL\CEVOpen\dictionary\eoActivity\eo_activity\activity'>
  <entry term=`antifungal'/>
  <entry term=`antioxidant'/>
  <entry term=`antiseptic'/>
  <entry term=`cosmetics'/>
  <entry term=`cytotoxicity'/>
  <entry term=`analgesic'/>
  <entry term=`antispasmodic'/>
  <entry term=`anxiolytic'/>
  <entry term=`antiparasitic'/>
  <entry term=`derivative'/>
  <entry term=`antiprotozoal'/>
</dictionary>
finished search