We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 229568e commit 4793b7fCopy full SHA for 4793b7f
1 file changed
colrev/packages/europe_pmc/src/europe_pmc.py
@@ -230,10 +230,11 @@ def _validate_source(self) -> None:
230
231
assert source.search_type in self.search_types
232
233
- if "query" not in source.search_parameters:
234
- raise colrev_exceptions.InvalidQueryException(
235
- "Query required in search_parameters"
236
- )
+ if source.search_type != SearchType.MD:
+ if "query" not in source.search_parameters:
+ raise colrev_exceptions.InvalidQueryException(
+ "Query required in search_parameters"
237
+ )
238
239
self.logger.debug("SearchSource %s validated", source.search_results_path)
240
0 commit comments