Forráskód Böngészése

Täiendus 'construct_qgis_output_result_to_beter_format'.

Ardo Kubjas 5 éve
szülő
commit
204bbc1653
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      R/construct_qgis_output_result_to_beter_format.R

+ 1 - 0
R/construct_qgis_output_result_to_beter_format.R

@@ -36,6 +36,7 @@ construct_qgis_output_result_to_beter_format <- function(str = "") {
   str <- gsub("[{]", "\nalgorithm=algorithm,\n", str)
   str <- gsub("[}]", "'\n", str)
   str <- gsub("layername='", "layername=", str)
+  str <- cat(gsub("'([0-9]+\\.{0,1}[0-9]*)'", "\\1", str))
   cat(str)
   str
 }