Closed cnwangfeng closed 5 years ago
Sry for re-committing the one file.
That's fine. Thanks for submitting the PR.
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that.
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
Thanks. Have a nice weekend.
BTW, is it possible to add “**/.DS_Store” in .gitignore of master at your convenience?
Cheers,
Feng On 26 Jan 2019, 16:58 +0000, Tim Cornwell notifications@github.com, wrote:
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
Yes, I will do.
On 26 Jan 2019, at 5:08 pm, Feng Wang notifications@github.com wrote:
Thanks. Have a nice weekend.
BTW, is it possible to add “**/.DS_Store” in .gitignore of master at your convenience?
Cheers,
Feng On 26 Jan 2019, 16:58 +0000, Tim Cornwell notifications@github.com, wrote:
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/pull/45#issuecomment-457847622, or mute the thread https://github.com/notifications/unsubscribe-auth/ADv3XanQ89Z6BXF2Cp2TCZQZSu3W7_d5ks5vHIurgaJpZM4aTHUC.
Actually I have a global ~/.gitignore_global containing: *~ .DS_Store That would be better, I think.
On 26 Jan 2019, at 5:08 pm, Feng Wang notifications@github.com wrote:
Thanks. Have a nice weekend.
BTW, is it possible to add “**/.DS_Store” in .gitignore of master at your convenience?
Cheers,
Feng On 26 Jan 2019, 16:58 +0000, Tim Cornwell notifications@github.com, wrote:
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/pull/45#issuecomment-457847622, or mute the thread https://github.com/notifications/unsubscribe-auth/ADv3XanQ89Z6BXF2Cp2TCZQZSu3W7_d5ks5vHIurgaJpZM4aTHUC.
OK. But there is a .gitignore file in current ARL. It seemed this file has high priority? :)
Feng On 26 Jan 2019, 17:15 +0000, Tim Cornwell notifications@github.com, wrote:
Actually I have a global ~/.gitignore_global containing: *~ .DS_Store That would be better, I think.
On 26 Jan 2019, at 5:08 pm, Feng Wang notifications@github.com wrote:
Thanks. Have a nice weekend.
BTW, is it possible to add “**/.DS_Store” in .gitignore of master at your convenience?
Cheers,
Feng On 26 Jan 2019, 16:58 +0000, Tim Cornwell notifications@github.com, wrote:
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/pull/45#issuecomment-457847622, or mute the thread https://github.com/notifications/unsubscribe-auth/ADv3XanQ89Z6BXF2Cp2TCZQZSu3W7_d5ks5vHIurgaJpZM4aTHUC.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
OK. It should work but it’s not worth the effort! I’ve put it in the arl .gitignore
On 26 Jan 2019, at 5:23 pm, Feng Wang notifications@github.com wrote:
OK. But there is a .gitignore file in current ARL. It seemed this file has high priority? :)
Feng On 26 Jan 2019, 17:15 +0000, Tim Cornwell notifications@github.com, wrote:
Actually I have a global ~/.gitignore_global containing: *~ .DS_Store That would be better, I think.
On 26 Jan 2019, at 5:08 pm, Feng Wang notifications@github.com wrote:
Thanks. Have a nice weekend.
BTW, is it possible to add “**/.DS_Store” in .gitignore of master at your convenience?
Cheers,
Feng On 26 Jan 2019, 16:58 +0000, Tim Cornwell notifications@github.com, wrote:
No I fixed them.
Sent from my iPhone
On 26 Jan 2019, at 16:55, Feng Wang notifications@github.com wrote:
Yes. I found the errors. Shall I commit again? I am using PyCharm and Visual Studio Code alternatively.
Regards,
Feng On 26 Jan 2019, 16:30 +0000, Tim Cornwell notifications@github.com, wrote:
By the way, I found some indentation errors in test_visibility_uvfits. Might be your editor. I use PyCharm (Professional) since it helps avoid problems like that. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/pull/45#issuecomment-457847622, or mute the thread https://github.com/notifications/unsubscribe-auth/ADv3XanQ89Z6BXF2Cp2TCZQZSu3W7_d5ks5vHIurgaJpZM4aTHUC.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/SKA-ScienceDataProcessor/algorithm-reference-library/pull/45#issuecomment-457848815, or mute the thread https://github.com/notifications/unsubscribe-auth/ADv3XX-RVxU6yE5nDrmgW9uKaUG4fjCGks5vHI8XgaJpZM4aTHUC.
Hi Tim,
Thank you for the consideration to include UVFITS support in ARL.
base.py: We add two functions such as create_blockvisibility_from_uvfits and create_visibility_from_uvfits. The codes have been tested strictly. Frankly speaking, the current function can't support all variations of UVFITS because it's too complex. The arguments of the functions are similar to the functions of MS file.
test_visibility_uvfits: Testing codes
ASKAP_example.fits : I finally upload the testing data because I found test program can't pass. Cheers,
Feng