This file is indexed.

/usr/share/pybliographer/Pyblio/GnomeUI/Medline.py is in pybliographer 1.2.14-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# This file is part of pybliographer
# 
# Copyright (C) 1998-2004 Frederic GOBRY
# Email : gobry@pybliographer.org
# 	   
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 
# of the License, or (at your option) any later version.
#   
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details. 
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
# 
# 

from gnome import ui
import gtk

from Pyblio.GnomeUI import Utils

class MedlineUI (Utils.GladeWindow):

    gladeinfo = { 'name': 'medline',
                  'file': 'medline.glade',
                  'root': '_w_medline'
                  }

    def __init__ (self, parent = None):

        Utils.GladeWindow.__init__ (self, parent)

        # Fill in the combo boxes
        self._w_field.set_popdown_strings (['All Fields', 'Affiliation',
                                            'Author Name', 'EC/RN Number',
                                            'Entrez Date', 'Filter',
                                            'Issue', 'Journal Name',
                                            'Language', 'MeSH Date',
                                            'MeSH Major Topic',
                                            'MeSH Subheading', 'MeSH Terms',
                                            'Pagination', 'Publication Date',
                                            'Publication Type', 'Secondary Source ID',
                                            'Substance Name', 'Text Word',
                                            'Title', 'Title/Abstract',
                                            'UID', 'Volume'])

        self._w_pub_type.set_popdown_strings (['Publication Types', 'Addresses',
                                               'Bibliography', 'Biography',
                                               'Classical Article', 'Clinical Conference',
                                               'Clinical Trial', 'Clinical Trial, Phase I',
                                               'Clinical Trial, Phase II', 'Clinical Trial, Phase III',
                                               'Clinical Trial, Phase IV', 'Comment',
                                               'Congresses', 'Consensus Development Conference',
                                               'Consensus Development Conference, NIH',
                                               'Controlled Clinical Trial',
                                               'Corrected and Republished Article', 'Dictionary',
                                               'Directory', 'Duplicate Publication',
                                               'Editorial', 'Evaluation Studies',
                                               'Festschrift', 'Government Publications',
                                               'Guideline', 'Historical Article',
                                               'Interview', 'Journal Article', 'Lectures',
                                               'Legal Cases', 'Legislation', 'Letter',
                                               'Meta-Analysis', 'Multicenter Study', 'News',
                                               'Newspaper Article', 'Overall', 'Periodical Index',
                                               'Practice Guideline', 'Published Erratum',
                                               'Randomized Controlled Trial', 'Retraction of Publication',
                                               'Retracted Publication', 'Review', 'Review, Academic',
                                               'Review Literature', 'Review, Multicase',
                                               'Review of Reported Cases', 'Review, Tutorial',
                                               'Scientific Integrity Review', 'Technical Report',
                                               'Twin Study', 'Validation Studies'])

        self._w_language.set_popdown_strings (['Languages', 'English',
                                               'French', 'German', 'Italian',
                                               'Japanese', 'Russian', 'Spanish'])

        self._w_subset.set_popdown_strings (['Subsets', 'AIDS', 'AIDS/HIV journals',
                                             'Bioethics', 'Bioethics journals',
                                             'Biotechnology journals', 'Communication disorders journals',
                                             'Complementary and Alternative Medicine',
                                             'Consumer health journals', 'Core clinical journals',
                                             'Dental journals', 'Health administration journals',
                                             'Health tech assessment journals', 'History of Medicine',
                                             'History of Medicine journals', 'In process',
                                             'Index Medicus journals', 'MEDLINE', 'NASA journals',
                                             'Nursing journals', 'PubMed Central', 'Reproduction journals',
                                             'Space Life Sciences', 'Supplied by Publisher', 'Toxicology'])
        
        self._w_age.set_popdown_strings (['Ages', 'All Infant: birth-23 month',
                                          'All Child: 0-18 years', 'All Adult: 19+ years',
                                          'Newborn: birth-1 month', 'Infant: 1-23 months',
                                          'Preschool Child: 2-5 years', 'Child: 6-12 years',
                                          'Adolescent: 13-18 years', 'Adult: 19-44 years',
                                          'Middle Aged: 45-64 years', 'Aged: 65+ years',
                                          '80 and over: 80+ years'])

        self._w_human.set_popdown_strings (['Human or Animal', 'Human', 'Animal'])

        self._w_gender.set_popdown_strings (['Gender', 'Female', 'Male'])

        self._w_entrez_date.set_popdown_strings (['Entrez Date', '30 Days', '60 Days',
                                                  '90 Days', '180 Days', '1 Year', '2 Years',
                                                  '5 Years', '10 Years'])

        self._w_pub_date.set_popdown_strings (['Publication Date', 'Entrez Date'])

        self._w_medline.show ()
        return

    
    def run (self):

        ret = self._w_medline.run ()

        if ret != gtk.RESPONSE_OK:
            self._w_medline.destroy ()
            return None

        data = (
            self._w_keyword.entry.get_text (),
            self._w_max_results.get_value_as_int (),
            self._w_start_results.get_value_as_int (),
            self._w_field.entry.get_text (),
            self._w_abstracts.get_active (),
            self._w_ahead.get_active (),
            self._w_pub_type.entry.get_text (),
            self._w_language.entry.get_text (),
            self._w_subset.entry.get_text (),
            self._w_age.entry.get_text (),
            self._w_human.entry.get_text (),
            self._w_gender.entry.get_text (),
            self._w_entrez_date.entry.get_text (),
            self._w_pub_date.entry.get_text (),
            self._w_from_date.get_text (),
            self._w_to_date.get_text ()
            )

        self._w_keyword.append_history (True, data [0])
        
        self._w_medline.destroy ()

        return data