-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello,
On start with Python interpreter on Windows app is throwing warnings:
C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:615: SyntaxWarning: invalid escape sequence '\d'
"Sharpcap3.2":{ "expression": "(?:Info:)\t(\d{2}:\d{2}:\d{2}.\d{7}).*(?:AltAzCor=)(?:Alt=)(.*)[,](?:Az=)(.*).\s(?:AltAzPole=)(?:Alt=)(.*)[,](?:Az=)(.*).[,]\s(?:AltAzOffset=).*",
C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:617: SyntaxWarning: invalid escape sequence '\W'
"Sharpcap4.x":{ "expression": "(?:Info)\W*(\d{2}:\d{2}:\d{2}.\d{6}).*(?:AltAzCor=)(?:Alt=)(.*)[,](?:Az=)(.*).\s(?:AltAzPole=)(?:Alt=)(.*)[,](?:Az=)(.*).[,]\s(?:AltAzOffset=).*",
C:\Users\asavin\Documents\AutoPA_master\Software\source\autopa_v2.py:619: SyntaxWarning: invalid escape sequence '\d'
"Ekos":{ "expression": "(\d{2}:\d{2}:\d{2}.\d{3}).*(?:PAA Refresh).*(?:Corrected az:).*(?:\()(\s?-?\d\.\d{3}).*(?:alt:).*(\s?-?\d\.\d{3}).*(?:total:)",
I think that might stop it to integrate with Sharpcap and Ekos, I cannot proof it though. I don't have these applications in my workflow.
Fix should be relativetely easy: on lines L615,L617,L619 autopa_v2.py expression string should be prfixed in the same manner as it is done on line L613 for NINA:
"NINA3.x":{ "expression": r"...
Thank you!
Metadata
Metadata
Assignees
Labels
No labels