Skip to content
Snippets Groups Projects
Commit db439cff authored by Dóra Kocsis's avatar Dóra Kocsis
Browse files

bugfix: fetch_series.m, fetch_series_by_api_link.m

parent 192b204a
No related branches found
No related tags found
No related merge requests found
Pipeline #3710 passed
......@@ -56,7 +56,7 @@ default_api_base_url = 'https://api.db.nomics.world/v22/';
default_editor_base_url = 'https://editor.nomics.world/api/v1/';
p = inputParser;
validStringInput = @(x) isstring(x) || ischar(x) || iscellstr(x);
validStringInput = @(x) ischar(x) || iscellstr(x);
p.addParameter('provider_code', '', validStringInput);
p.addParameter('dataset_code', '', validStringInput);
p.addParameter('series_code', '', validStringInput);
......
......@@ -40,7 +40,7 @@ function df = fetch_series_by_api_link(api_link, varargin) % --*-- Unitary tests
default_editor_base_url = 'https://editor.nomics.world/api/v1/';
p = inputParser;
validStringInput = @(x) isstring(x) || ischar(x) || iscellstr(x);
validStringInput = @(x) ischar(x) || iscellstr(x);
p.addRequired('api_link');
p.addOptional('dbnomics_filters', '',@ischar);
p.addOptional('max_nb_series', NaN, @isnumeric);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment