[Kstars-devel] branches/kstars/summer/kdeedu/kstars/kstars/data/tools

Akarsh Simha akarshsimha at gmail.com
Sun Jun 29 22:13:04 CEST 2008


SVN commit 826085 by asimha:

Relax the strictness of the regular expression that parses the ASCII
data file. This is required for compatibility with the Tycho 2 ASCII
catalog prepared by Jason.

CCMAIL: kstars-devel at kde.org



 M  +2 -2      tycdatatomysql.pl  


--- branches/kstars/summer/kdeedu/kstars/kstars/data/tools/tycdatatomysql.pl #826084:826085
@@ -146,8 +146,8 @@
             \s*(-?\d?\d\.\d{8})\s      # DEC DDMMSS.SS
             \s*(-?\d+\.\d\d)\s         # dRA/dt 
             \s*(-?\d+\.\d\d)\s         # dDec/dt
-            \s*(-?\d+\.\d\d)\s         # Parallax
-            \s([- \d]\d\.\d\d)\s       # Magnitude
+            \s*(-?\d+\.\d[\d ])\s      # Parallax
+            \s*([- \d]\d\.\d\d)\s      # Magnitude
             \s*([- ]\d.\d\d)\s         # B-V index
             ([01])\s                   # Multiple?
             ([01])\s                   # Variable?


More information about the Kstars-devel mailing list