Weblog

A summary of work I've done at the Space Telescope Institute.

Moving On

We tagged and released the spherical_geometry package to the wider world. I had to rewrite my tests for check_over when I found that you can only have one source file with C tests linked into the C library, because the test package uses global variables.

Posted on 29 Aug 2014

Found Bugs

In the morning I did some more sleuthing of the problems with spherical_geometry. In the afternoon I found the cause of my segmentation violation and moved in to write my first test case for check_over.

Posted on 28 Aug 2014

Not Quite Yet

I renamed the stsci_sphere package to spherical_astronomy pending its release. There are still some small problems that will need to be addressed before I can say it's done. I briefly looked at the segmentation violation problem in drizzlepac based on an early morning hunch. No success from the small change I made.

Posted on 27 Aug 2014

gdb vs lldb

I spent the day trying to figure out the cause of my segmentation problem. It says it's a free of an uninitialized pointer. Wanted to debug the problem with gdb, but it seems like gdb is no longer supported on the Mac and I will need to use lldb.

Posted on 26 Aug 2014

Tests Run

All the tests run successfully, but the test suite crashes with a segmentation violation when exiting, which is not good. I'm trying to figure out how to use gdb to solve the problem. Complicated by the fact I'm running the tests through python.

Posted on 25 Aug 2014

Moar Testing

With Mark's help I identified the compiling and linking problems and was able to move forward. I am currently trying to identify problems and fix them to get the unit tests to pass.

Posted on 22 Aug 2014

Wrap that Rascal

I wrote the C and Python code to wrap the unit tests and the Python test case to invoke it. While it all compiles and links properly (I think) there are probems when running, it says that code was not installed properly. So I will need some help identifying those issues.

Posted on 21 Aug 2014

Linking

I got the library and its tests to build successfully, but found out that to run them I will need to write a Python wrapper that invokes them.

Posted on 20 Aug 2014

Building

I have finished the first set of unit tests and am trying to get them to build. I am having some issues with pandokia, since I seem to be the first person to use it to test C code.

Posted on 19 Aug 2014

Onward

I fixed the compile errors in the drizzlepac code and started writing unit tests.

Posted on 18 Aug 2014