Skip to content
Snippets Groups Projects
Commit 432724ea authored by Ian Longden's avatar Ian Longden
Browse files

remove the over zealous warning. This is actually okay

parent 51fbe135
No related branches found
No related tags found
No related merge requests found
......@@ -222,11 +222,15 @@ sub fetch_by_CoordSystems {
my @mapping_path = @{$csa->get_mapping_path($cs1,$cs2)};
if(!@mapping_path) {
warning(
"There is no mapping defined between these coord systems:\n" .
$cs1->name() . " " . $cs1->version() . " and " . $cs2->name() . " " .
$cs2->version()
);
# It is perfectly fine not to have a mapping. No warning needed really
# Just check the return code!!
# warning(
# "There is no mapping defined between these coord systems:\n" .
# $cs1->name() . " " . $cs1->version() . " and " . $cs2->name() . " " .
# $cs2->version()
# );
return undef;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment