Skip to content

Commit

Permalink
fix(serve): fix species column in refchef-serve flask app
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandogelin committed Aug 26, 2019
1 parent bec3460 commit 9b32cc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/refchef-serve
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ from refchef import config

parser = argparse.ArgumentParser(description='Get and filter references available in the system.')

parser.add_argument('--master', '-m', type=str, help='Path do to master.yaml')
parser.add_argument('--master', '-f', type=str, help='Path do to master.yaml')
parser.add_argument('--config', '-c', type=str, help='Path do to config file in .yaml or .ini format.')

arguments = parser.parse_args()
Expand Down
4 changes: 2 additions & 2 deletions scripts/templates/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h1 class="title">{{ title }}</h1>
<input type="text" id="referenceInput" list="references" onkeyup="search('referenceInput', 0)" placeholder="Reference">
</th>
<th>
<input type="text" id="speciesInput" list="species" onkeyup="search('speciesInput', 1)" placeholder="Species">
<input type="text" id="speciesInput" list="species" onkeyup="search('speciesInput', 1)" placeholder="Organism">
</th>
<th>
<input type="text" id="orgInput" list="organizations" onkeyup="search('orgInput', 2)" placeholder="Organization">
Expand All @@ -120,7 +120,7 @@ <h1 class="title">{{ title }}</h1>
{% for entry in items %}
<tr>
<td><p>{{ entry.name }}</p></td>
<td><p>{{ entry.species }}</p></td>
<td><p>{{ entry.organism }}</p></td>
<td><p>{{ entry.organization }}</p></td>
<td><p>{{ entry.component }}</p></td>
<td><code>{{ entry.location }}</code></td>
Expand Down

0 comments on commit 9b32cc5

Please sign in to comment.