Skip to content

Commit

Permalink
TOC is bool
Browse files Browse the repository at this point in the history
  • Loading branch information
golnazads committed Sep 2, 2021
1 parent f2aad97 commit f2961e7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
37 changes: 18 additions & 19 deletions adsmsg/protobuf/master_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion adsmsg/tests/test_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_document_records(self):
'title': ['https://doi.org/10.1038%2F375659a0']}
},
'INSPIRE': {'url': ['http://inspirehep.net/search?p=find+j+NATUA,375,659']},
'TOC': {'url': ['/abs/1995Natur.375..659T/toc']}}
'TOC': True}
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions specs/master.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ message LinkRecord {
LinkTypeRecord INSPIRE = 6;
LinkTypeRecord LIBRARYCATALOG = 7;
LinkTypeRecord PRESENTATION = 8;
LinkTypeRecord TOC = 9;
bool CITATIONS = 10;
bool GRAPHICS = 11;
bool METRICS = 12;
bool OPENURL = 13;
bool REFERENCES = 14;
bool CITATIONS = 9;
bool GRAPHICS = 10;
bool METRICS = 11;
bool OPENURL = 12;
bool REFERENCES = 13;
bool TOC = 14;
}

message DocumentRecord {
Expand Down

0 comments on commit f2961e7

Please sign in to comment.